﻿@model NewRen.Models.Business
@{
    ViewBag.Title = "商家认证";
    Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}

<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>商家认证</h2>
        <ol class="breadcrumb">
            <li>
                <a href="/Admin/Home/Index">后台管理</a>
            </li>
            <li>
                <a href="/Admin/Business/Index">牛棚管理</a>
            </li>
            <li>
                <a href="#">商家认证</a>
            </li>
        </ol>
    </div>
</div>
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>商家认证  <small>@Model.BusinessName</small> <small><a href="/Admin/Business/Index">牛棚管理</a></small></h5>
                    </div>
                    <div class="ibox-content">
                        @using (Html.BeginForm("VerifyEdit", "Business", FormMethod.Post, new { id = "frmEditBusinessVerify", @class = "form-horizontal" }))
                        {
                            @Html.AntiForgeryToken()
                            <input type="hidden" name="ID" value="@Model.ID" />
                            <div class="form-group">
                                <label class="col-sm-2 control-label">认证</label>
                                <div class="col-sm-10">
                                    <select class="form-control w-2" name="IsVerifed">
                                        <option value="false" @(Model.IsVerified == false ? "selected" : "")>否</option>
                                        <option value="true" @(Model.IsVerified == true ? "selected" : "")>是</option>
                                    </select>
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>
                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <button class="btn btn-primary" type="submit">保存内容</button>
                                    <button class="btn btn-white" type="reset">重置</button>
                                </div>
                                <span class="help-block m-b-none">@Html.ValidationSummary(true)</span>
                            </div>
                        }
                    </div>
                </div>
            </div>
        </div>
    </div>
